package com.yincai.carefreewater.entity;

import java.io.Serializable;

/**
 * Created by ${zhangke} on 2017/6/6.
 */

public class Weather implements Serializable {

    /**
     * code : 100
     * result : {"city":"北京市","high_temp":"34","day_weather":"多云转雷阵雨","day_air":"34","night_air":"23","add_time":"2017-08-08"}
     * msg : Success
     * version : 1.0.0
     */

    private String code;
    private ResultBean result;
    private String msg;
    private String version;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public static class ResultBean {
        /**
         * city : 北京市
         * high_temp : 34
         * day_weather : 多云转雷阵雨
         * day_air : 34
         * night_air : 23
         * add_time : 2017-08-08
         */

        private String city;
        private String high_temp;
        private String day_weather;
        private String day_air;
        private String night_air;
        private String add_time;
        private String use_day;

        public String getUse_day() {
            return use_day;
        }

        public void setUse_day(String use_day) {
            this.use_day = use_day;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getHigh_temp() {
            return high_temp;
        }

        public void setHigh_temp(String high_temp) {
            this.high_temp = high_temp;
        }

        public String getDay_weather() {
            return day_weather;
        }

        public void setDay_weather(String day_weather) {
            this.day_weather = day_weather;
        }

        public String getDay_air() {
            return day_air;
        }

        public void setDay_air(String day_air) {
            this.day_air = day_air;
        }

        public String getNight_air() {
            return night_air;
        }

        public void setNight_air(String night_air) {
            this.night_air = night_air;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }
    }
}

